Skip to content

rich workspaces#5130

Merged
tobiasKaminsky merged 5 commits into
masterfrom
createRichWorkspace
Jan 10, 2020
Merged

rich workspaces#5130
tobiasKaminsky merged 5 commits into
masterfrom
createRichWorkspace

Conversation

@tobiasKaminsky

Copy link
Copy Markdown
Member
  • show button to create folder info
  • bug fixes

Signed-off-by: tobiasKaminsky tobias@kaminsky.me

@tobiasKaminsky

Copy link
Copy Markdown
Member Author

/backport to stable-3.10

@tobiasKaminsky

Copy link
Copy Markdown
Member Author

2020-01-09-125819 2020-01-09-125822 2020-01-09-125904

@tobiasKaminsky

Copy link
Copy Markdown
Member Author

@juliusknorr

Copy link
Copy Markdown
Member

Tested and works, also fixes the file creation with OO

- show button to create folder info
- bug fixes

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
url,
requireContext());
} else {
DisplayUtils.showSnackMessage(getView(), "Error");

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use a strings.xml `@StringRes´ string resource that can be translated :)


-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did you drop the scrollview?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ans will this work for non rich-text previews (if they still exist?)?

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@tobiasKaminsky

Copy link
Copy Markdown
Member Author

Lint:
Attribute unused on older versions
Vector Image Generation
Both warning that "autoMirrored" might not work, but this is acceptable for the icon, so manually increasing lint.

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@codecov

codecov Bot commented Jan 10, 2020

Copy link
Copy Markdown

Codecov Report

Merging #5130 into master will increase coverage by 0.08%.
The diff coverage is 8.69%.

@@             Coverage Diff             @@
##             master   #5130      +/-   ##
===========================================
+ Coverage     17.62%   17.7%   +0.08%     
  Complexity        3       3              
===========================================
  Files           392     392              
  Lines         33116   33134      +18     
  Branches       4651    4655       +4     
===========================================
+ Hits           5836    5867      +31     
+ Misses        26329   26310      -19     
- Partials        951     957       +6
Impacted Files Coverage Δ Complexity Δ
.../owncloud/android/ui/activity/TextEditorWebView.kt 0% <ø> (ø) 0 <0> (ø) ⬇️
...ndroid/ui/activity/RichDocumentsEditorWebView.java 0% <ø> (ø) 0 <0> (ø) ⬇️
...om/owncloud/android/ui/activity/EditorWebView.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...ncloud/android/ui/fragment/OCFileListFragment.java 24.83% <9.09%> (-0.37%) 0 <0> (ø)
...oud/android/operations/RefreshFolderOperation.java 58.94% <0%> (-2.04%) 0% <0%> (ø)
...in/java/com/owncloud/android/datamodel/OCFile.java 65.04% <0%> (-0.89%) 0% <0%> (ø)
...cloud/android/ui/activity/FileDisplayActivity.java 20.12% <0%> (-0.08%) 0% <0%> (ø)
.../third_parties/daveKoeller/AlphanumComparator.java 82.14% <0%> (ø) 0% <0%> (ø) ⬇️
...ud/android/ui/adapter/NotificationListAdapter.java 0% <0%> (ø) 0% <0%> (ø) ⬇️
...ud/android/providers/DocumentsStorageProvider.java 4% <0%> (ø) 0% <0%> (ø) ⬇️
... and 12 more

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12223.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Codacy

340

Lint

TypemasterPR
Warnings7476
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings71
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings107
Security Warnings44
Dodgy code Warnings139
Total414

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings71
Internationalization Warnings13
Malicious code vulnerability Warnings5
Multithreaded correctness Warnings9
Performance Warnings107
Security Warnings44
Dodgy code Warnings139
Total414

@tobiasKaminsky
tobiasKaminsky merged commit 6e96e99 into master Jan 10, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the createRichWorkspace branch January 10, 2020 18:45
@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable-3.10 in #5152

@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.11.0 milestone Jan 10, 2020
tobiasKaminsky added a commit that referenced this pull request Jan 12, 2020
ec515d0 [tx-robot] updated from transifex
422a61d Merge pull request #5136 from nextcloud/systemDefault
6e96e99 Merge pull request #5130 from nextcloud/createRichWorkspace
b7a7772 Merge pull request #5122 from nextcloud/firstRun
603825e update screenshot
c4d5e41 Merge pull request #5143 from nextcloud/background
c6d89ed only allow rich workspace creation on >= Lollipop
87dae2e show first run again
9125285 manually increasing lint due to "autoMirrored" warning
4c10cf5 launcher: correct folder position according to AS
51fdf94 [tx-robot] updated from transifex
e0b77f9 daily dev 20200110
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants